<style lang="scss" scoped>
  .common_tit {
    padding-left: 16px;
    border-left: 2px solid rgb(81, 146, 239);
    margin-left: 4px;
    .title_text {
      color: #333333;
      font-size: 16px;
      margin-bottom: 6px;
    }
    .desc {
      font-size: 12px;
      color: rgba(140, 147, 155, 1);
    }
  }
</style>

<template>
  <div class="common_tit">
    <div class="title_text">{{ title }}</div>
    <div class="desc">{{ desc }}</div>
  </div>
</template>

<script setup>
  defineProps({
    title: {
      type: String,
      default: '消耗排行榜'
    },
    desc: {
      type: String,
      default: '每五分钟进行一次统计'
    }
  })
</script>